<form method="post" onsubmit="return validate()" action="/show/editGraph/<%= @graph.id %>">
    <%= render :partial => "graphForm" %>
</form>
